package com.swq.java.code.chapter09.code04;

import java.util.Date;

/**
 * @author xi.yang
 * @create 2019-05-15 19:16
 **/
public class LateException extends Exception {
    private Date arriveTime;
    private String reason;

    public LateException(Date arriveTime, String reason) {
        this.arriveTime = arriveTime;
        this.reason = reason;
    }

    public Date getArriveTime() {
        return arriveTime;
    }

    public String getReason() {
        return reason;
    }
}
